package jingtaidaili;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-09-27 08:20
 */
public class Father {
    private Son son;
    //没办法扩展
    public Father(Son son){
        this.son = son;
    }

    //目标对象的引用给拿到
    public void findLove(){
        System.out.println("父母物色对象");
        this.son.findLove();
        System.out.println("双方同意交往，确立关系");
    }
}
